package com.ruoyi.exam.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 冲突检测管理对象 exam_conflict
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class ExamConflict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 冲突ID */
    private Long conflictId;

    /** 安排ID */
    @Excel(name = "安排ID")
    private Long arrangeId;

    /** 时间ID */
    @Excel(name = "时间ID")
    private Long timeId;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 冲突课程 */
    @Excel(name = "冲突课程")
    private String conflictCourse;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date detectionTime;

    public void setConflictId(Long conflictId) 
    {
        this.conflictId = conflictId;
    }

    public Long getConflictId() 
    {
        return conflictId;
    }

    public void setArrangeId(Long arrangeId) 
    {
        this.arrangeId = arrangeId;
    }

    public Long getArrangeId() 
    {
        return arrangeId;
    }

    public void setTimeId(Long timeId) 
    {
        this.timeId = timeId;
    }

    public Long getTimeId() 
    {
        return timeId;
    }

    public void setStudentNo(String studentNo) 
    {
        this.studentNo = studentNo;
    }

    public String getStudentNo() 
    {
        return studentNo;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setConflictCourse(String conflictCourse) 
    {
        this.conflictCourse = conflictCourse;
    }

    public String getConflictCourse() 
    {
        return conflictCourse;
    }

    public void setDetectionTime(Date detectionTime) 
    {
        this.detectionTime = detectionTime;
    }

    public Date getDetectionTime() 
    {
        return detectionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("conflictId", getConflictId())
            .append("arrangeId", getArrangeId())
            .append("timeId", getTimeId())
            .append("studentNo", getStudentNo())
            .append("studentName", getStudentName())
            .append("conflictCourse", getConflictCourse())
            .append("detectionTime", getDetectionTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
